package com.techstar.api.pojo.overview;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 实时客运量
 * @date 2021年8月9日
 */

@Getter
@Setter
@Entity
@ToString
@Table(name = "overview_realtime_traffic")
@org.hibernate.annotations.Table(appliesTo = "overview_realtime_traffic",comment="pbtp-1-实时客运量")
public class OverviewRealtimeTraffic {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	@Column(columnDefinition="varchar(100) COMMENT '当年累计客运量'")
	private String accFlowByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当年累计客运量同比'")
	private String accFlowByYearCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计客运量'")
	private String accFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计客运量同比'")
	private String accFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均客运量'")
	private String avgFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均客运量同比'")
	private String avgFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年累计公交客运量'")
	private String accBusFlowByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计公交客运量'")
	private String accBusFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计公交客运量同比'")
	private String accBusFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交客运量'")
	private String avgBusFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交客运量同比'")
	private String avgBusFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均公交分担率'")
	private String avgBusRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当年累计地铁客运量'")
	private String accSubwayFlowByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计地铁客运量'")
	private String accSubwayFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计地铁客运量同比'")
	private String accSubwayFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均地铁客运量'")
	private String avgSubwayFlow;
	@Column(columnDefinition="varchar(100) COMMENT '日均地铁分担率'")
	private String avgSubwayRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当年累计出租客运量'")
	private String accTaxiFlowByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计出租客运量'")
	private String accTaxiFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计出租客运量同比'")
	private String accTaxiFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均出租客运量'")
	private String avgTaxiFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均出租客运量同比'")
	private String avgTaxiFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '日均出租分担率'")
	private String avgTaxiRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当年累计网约客运量'")
	private String accCarHailingFlowByYear;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计网约客运量'")
	private String accCarHailingFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计网约客运量同比'")
	private String accCarHailingFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均网约客运量'")
	private String avgCarHailingFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均网约客运量同比'")
	private String avgCarHailingFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '日均网约分担率'")
	private String avgCarHailingRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计公交客运量分担率'")
	private String accBusRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计地铁客运量分担率'")
	private String accSubwayRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均地铁客运量同比'")
	private String avgSubwayFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计出租客运量分担率'")
	private String accTaxiRatio;
	@Column(columnDefinition="varchar(100) COMMENT '当日累计网约客运量分担率'")
	private String accCarHailingRatio;
	@Column(columnDefinition="datetime(0) COMMENT '业务统计时间'")
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private DateTime createTime;
}

